package com.bird.file.serializablestream;

import java.io.Serializable;

/**
 * @author sijunqiang
 * @data 2021/8/1 15:39
 * @description:
 */
public class Employee implements Serializable {
    private String name;
    private String address;
    private transient String age;

    public Employee() {
    }

    public Employee(String name, String address, String age) {
        this.name = name;
        this.address = address;
        this.age = age;
    }

    @Override
    public String toString() {
        return "name: " + name + " address: " + address + " age " + age;

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }
}
